﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class _Default : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        //WebSite.FAQ f = new WebSite.FAQ();
        //f.Name = "fff";
        //f.SaveOrUpdate();
     //object aa=   WebSite.FAQ.Database;
        //WebSite.FAQ fff = new WebSite.FAQ();
        //fff.SaveOrUpdate();
        GridView1.DataSource = WebSite.FAQ.SelectFAQ(0, 0, "", "");
       GridView1.DataBind();
    }
}